#include<bits/stdc++.h>
using namespace std;
char s1[10000],s2[10000];
int main()
{
	scanf("%s%s",s1,s2);
	cout<<strcat(s1,s2);
    return 0;
}
